const express = require('express')
const compression = require('compression')
const app = express()
app.use(compression) //gzip压缩网络传输
app.use(express.static('./../dist'))
app.listen(80, () => {
    console.log('server is runing on 127.0.0.1');
})